//package test.my.com.myapplicationtest.sliding_menu;
//
//import android.support.v4.app.Fragment;
//import android.support.v4.app.FragmentManager;
//import android.support.v4.app.FragmentPagerAdapter;
//
//import java.util.ArrayList;
//import java.util.List;
//
///**
// * Author : Cooper
// * Time : 2016/9/12  17:03
// * Description :
// */
//public class SMViewPagerAdapter extends FragmentPagerAdapter {
//
//    private List<String> titleList = new ArrayList<>();
//    private List<Fragment> fragmentList = new ArrayList<>();
//
//    public SMViewPagerAdapter(FragmentManager fm ,List<String> titleList,List<Fragment> fragmentList) {
//        super(fm);
//        this.titleList = titleList;
//        this.fragmentList = fragmentList;
//    }
//
//    @Override
//    public Fragment getItem(int position) {
//        return fragmentList.get(position);
//    }
//
//    @Override
//    public int getCount() {
//        return titleList.size();
//    }
//
//    @Override
//    public CharSequence getPageTitle(int position) {
//        return titleList.get(position);
//    }
//}
